package com.cyr.daletou.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author chenyanrui
 * @since 2021/6/14
 */
@FeignClient(value = "daletou", url = "${daletou.url}")
public interface DaletouFeignClient {
    @GetMapping(value = "/dlt/history/newinc/history.php")
    String fetch(@RequestParam("start") int start, @RequestParam("end") int end);
}
